c392bc
@@ -385,7 +385,7 @@
private static Statistics collectStatistics(HiveConf conf, PrunedPartitionList p
         // skip the step to connect to the metastore.
         if (neededColsToRetrieve.size() > 0 && partNames.size() > 0) {
           aggrStats = Hive.get().getAggrColStatsFor(table.getDbName(), table.getTableName(),
-              neededColsToRetrieve, partNames, true);
+              neededColsToRetrieve, partNames, false);
         }
 
         boolean statsRetrieved = aggrStats != null &&
@@ -1025,7 +1025,7 @@
else if(colTypeLowerCase.equals(serdeConstants.SMALLINT_TYPE_NAME)){
     List<ColStatistics> stats = null;
     try {
       List<ColumnStatisticsObj> colStat = Hive.get().getTableColumnStatistics(
-          dbName, tabName, colStatsToRetrieve, true);
+          dbName, tabName, colStatsToRetrieve, false);
       stats = convertColStats(colStat, tabName);
     } catch (HiveException e) {
       LOG.error("Failed to retrieve table statistics: ", e);
